<div id="pager">
{if sizeof($pages)}
	Страницы: &nbsp;
	{if $prev}
		<a href="<*prev*>" class="arr" onclick="return alist(this.href)">&larr;</a>
	{/if}
	{if $first}
		<a href="<*first*>"  onclick="return alist(this.href)">1</a>
	{/if}
	{if $left_more&&$left_more!=$first}
		<a href="<*left_more*>"  onclick="return alist(this.href)">...</a>
	{/if}
	{for source=pages}
		<a {if $active}class="active"{/if} href="<*url*>"  onclick="return alist(this.href)"><*title*></a>
	{/for}
	{if $right_more&&$right_more!=$last}
		<a href="<*right_more*>"  onclick="return alist(this.href)">...</a>
	{/if}
	{if $last}
		<a href="<*last*>"  onclick="return alist(this.href)"><*countpages*></a>
	{/if}
	{if $next}
		<a href="<*next*>" class="arr"  onclick="return alist(this.href)">&rarr;</a>
	{/if}
{else}
	ничего не найдено
{/if}
</div>
{if $showall}
<div id="showall">
	<a href="<*showall*>"  onclick="return alist(this.href)">Показать все строки</a> (<*countall*>)
</div>
{/if}
{if $showed_much}
<div id="showall">
	<a href="<*url*>"  onclick="return alist(this.href)">Постраничный показ</a> (по <*default_pagesize*>)
</div>
{/if}